/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.siagefi.model;

import br.siagefi.interfaces.BaseEntity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author NOTE
 */
@Entity
@Table(name = "fornecedor_pj")
@NamedQuery(name = "FornecedorPJ.buscaPorCNPJ", 
        query = "SELECT f FROM FornecedorPJ f WHERE f.cnpj = ?1")
public class FornecedorPJ extends PessoaJuridica implements Serializable, BaseEntity{
    
    @Column(name = "setor", length = 50)
    private String setor;
    
    @Column(name = "anotacao", length = 50)
    private String anotacao;

    public FornecedorPJ() {
    }
  
    public String getSetor() {
        return setor;
    }

    public void setSetor(String setor) {
        this.setor = setor;
    }

    public String getAnotacao() {
        return anotacao;
    }

    public void setAnotacao(String anotacao) {
        this.anotacao = anotacao;
    }
}
